package com.book.dao;

import java.util.List;

import com.book.bean.Users;

public interface UserDao {
	//用户注册
	public boolean register(Users user) throws Exception;
	//用户登录
	public int login(String uname,String password) throws Exception;
	//获取用户信息  根据用户名
	public Users getUsers(String uname) throws Exception;
	//查询用户
	public List<Users> listUsers() throws Exception;
}
